package com.reservoir.api.service;

import com.reservoir.api.entity.SysOperLog;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * 日志服务
 *
 * @author ruoyi
 */
@FeignClient(value = "springcloud-system",path = "/operLog")
public interface RemoteLogService {
    /**
     * 保存系统日志
     *
     * @param sysOperLog 日志实体
     */
    @PostMapping("/add")
    void saveLog(@RequestBody SysOperLog sysOperLog);
}

